/* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/* start editing from here */
a{text-decoration:none;}
.txt-rt{text-align:right;}/* text align right */
.txt-lt{text-align:left;}/* text align left */
.txt-center{text-align:center;}/* text align center */
.float-rt{float:right;}/* float right */
.float-lt{float:left;}/* float left */
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{	vertical-align:baseline;}/* vertical align baseline */
.vertical-top{	vertical-align:top;}/* vertical align top */
.underline{	padding-bottom:5px;	border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
nav.vertical ul li{	display:block;}/* vertical menu */
nav.horizontal ul li{	display: inline-block;}/* horizontal menu */
img{max-width:100%;}
/*end reset*/
body{
	font-family: Arial, Helvetica, sans-serif;
	background:#46463C url('../img/bg.png');
}
nav{
	height:50px;
	background-color:white;
	box-shadow:2px 1px 2px ;
}
.user{
	margin-top:5px;
	display:inline-block;
}
.dropdown-menu li{
	color: deeppink;
	font-size: 0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	background: #fff;
	padding: 10px 12px;
	box-shadow: 0px 0px 10px #ddd;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
}
.dropdown-menu li a{
	text-decoration:none;
	color:rgb(80, 80, 80)
}
.dropdown-menu li a:hover{

	color:deeppink;
}
.dropdown-menu li:hover{
	background-color:#ddd;
}
.wrap{
	width:80%;
	margin:30px auto;
}
.left-sidebar{
	width:15%;
	float:left;
	background:#fff;
	border-bottom: 10px solid cornflowerblue;
}
.logo{
	text-align: center;
	padding: 24px 27px;
	background: cornflowerblue;
}

.top-nav{
	background:#fff;
	font-family: 'Merriweather Sans', sans-serif;
	font-size:0.8em;
}
.top-nav ul li a{
	color: rgb(80, 80, 80);
	font-weight: bold;
	font-size:1em;
	font-family: 'Merriweather Sans', sans-serif;
	display: inline-block;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
	padding: 18px;
	display: block;
}
.top-nav ul li a:hover {
	background: rgba(223, 223, 223, 0.98);
	color:cornflowerblue;
}
.social-icons ul li{
	display:inline-block;
}
.social-icons{
	text-align: center;
	padding: 17px 0px 10px 0px;
}
/*----content----*/
.content{
	background:#fff;
	float:left;
	margin: 0% 0% 0% 1.5%;
	width: 61%;
	padding: 13px 22px 22px 22px;
	
}

.grid h3,.featured-Videos h3,.popular-post h3,.fallowers h3,.contact-form h3,.contact-address h3,.error-page h4,.error-page h5,.social-icons h3{
	color: rgb(80, 80, 80);
	font-size:1em;
	font-family: 'Merriweather Sans', sans-serif;
	text-transform:uppercase;
	padding: 0px 0px 7px 0px;
}

.grid img{
	float:left;
	background: #fff;
	padding: 5px;
	max-width:200px;
	max-height:200px;
	box-shadow: 0px 0px 5px #ddd;
}
.grid img:hover{
	opacity: 0.9;
}
.grid p{
	float:right;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: rgb(155, 155, 155);
	line-height: 1.8em;
	width: 58.3%;
}
.grid p a{
	color:#EA5546;
	font-size:0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	margin-left:10px;
}

h4{
	color:deeppink;
	line-height:2em;
}
.grid-header ul li{
	display: inline-block;
}
.grid-header ul li a{
	color:deeppink;
	font-size:0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
}
.grid-header ul li a:hover,.content-pagenation li a:hover{
	color:rgb(80, 80, 80);
}
.grid-header ul li span{
	font-size:0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	color: rgb(155, 155, 155);
}
.readmore{
	float: right;
	color: deeppink;
	font-size: 0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	background: #fff;
	padding: 10px 20px 10px 10px;
	box-shadow: 0px 0px 10px #ddd;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
}
.readmore:hover{
	color: rgb(80, 80, 80);
}
.grid ul{
	padding:0px 0px 10px 0px;
}
.comments li {
	display:inline-block;
	margin-top: 10px;	
}
.grid-img-content {
	padding: 10px 0px;
}
.grid-img-content p:hover{
	cursor:pointer;
}
.comments li img{
	vertical-align:center;
}
.comments li:last-child{
	float:right;
}
.comments{
	margin: 10px 0px -2px 0px;
	border-top: 1px ridge rgb(240, 240, 240);
}
.grid.box {
	border-bottom: 1px ridge rgb(240, 240, 240);
}
.grid-header {
	margin-top: 18px;
}
.content{
	padding-bottom:20px;
}
/*翻页*/
#pagi-father{
    text-align: center;
}
#pagination{
    font-size: 14px;
}
#pagination a{
    min-width: 30px;
    height: 28px;
    border: 1px solid #dce0e0!important;
    margin: 0 4px;
    cursor: pointer;
    line-height: 28px;
    font-size: 13px;
    display: inline-block;
}
#firstPage, #lastPage {
    width: 50px;
    color: #0073A9;
    border: 1px solid #0073A9!important;
}
#prePage, #nextPage {
    width: 70px;
    color: #0073A9;
    border: 1px solid #0073A9!important;
}
#pagination .current {
    background-color: #0073A9;
    border-color: #0073A9;
    color: #FFFFFF;
}
.totalPages {
    margin: 0 15px;
}
.totalPages span, .totalSize span {
    color: #0073A9;
    margin: 0 5px;
}
/*----right-sidebar----*/
.right-sidebar{
	background:#fff;
	float: right;
	width: 20%;
	padding: 10px 28px 22px 10px;
}
.search-bar{
	text-align: center;
	background: #fff;
	border: 1px ridge #eee;
}
.search-bar form{
	background:#fff;
}
.search-bar input[type="text"],.search-bar input[type="submit"]{
	outline: none;
	border:none;
}
.search-bar input[type="submit"]{
	background: url('../img/search01.png');
	height: 37px;
	width: 42px;
}
.search-bar input[type="submit"]:hover{
	background: url('../img/search.png');
	cursor:pointer;
}
.search-bar input[type="text"]{
	width: 69.1%;
	padding: 10px;
	float: left;
	color: deeppink;
	font-size: 0.8em;
	font-family: 'Merriweather Sans', sans-serif;	
}
.featured-Videos h3,.popular-post h3,.fallowers h3{
	padding: 10px 0px;
	border-bottom: 5px solid cornflowerblue;
}
.featured-Videos img{
	background: #EA5546;
	padding: 2px;
	margin: 10px 0px;
}
.post-grid{
	padding:10px 0px;
	border-bottom: 1px ridge rgb(240, 240, 240);
}
.post-grid img{
	float:left;
	width:39%;
}
.post-grid p{
	float:right;
	width:58%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: rgb(155, 155, 155);
	line-height: 1.5em;
}
.popular-post a{
	text-decoration: none;
	color: rgb(155, 155, 155);
}
.popular-post li{
	padding:8px 5px;
	border-bottom:1px dashed gray;
}
.popular-post a:hover{
	color:deeppink;
	text-decoration: underline;
}
.post-grid p a{
	font-family: Arial, Helvetica, sans-serif;
	color: rgb(155, 155, 155);
	line-height: 1.5em;
}
.view-all a{
	color: lightblue;
	font-size: 0.7em;
	font-family: 'Merriweather Sans', sans-serif;
	background: #fff;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
	float: right;
	margin: 10px 0px;	
}
.view-all a:hover,.footer p a:hover{
	color:rgb(80, 80, 80);
}
.fallowers  ul li{
	display:inline-block;
	width: 32%;	
}
.fallowers  ul li img{
	display:block;
}
.fallowers  ul {
	margin-top:12px;	
}
.fallowers  ul li a{
	background: rgb(255, 255, 255);
	display: block;
	padding:3px;
	margin-bottom:5px;
	box-shadow: 0px 0px 10px rgb(207, 207, 207);
}
.footer{
	text-align: center;
	margin-top: 52px;
}
.footer p{
	font-size: 0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	color: rgb(155, 155, 155);
}
.footer p a{
	color:lightblue;
}
/*----singlepage----*/
.singlepage img{
	float:none;
}
.singlepage p{
	float:none;
	width:100%;
}
.singlepage1 h3{
	margin-bottom: 15px;
	border-bottom: 5px solid lightblue;
}
.singlepage1 h3:before{
	content: url('../img/r-blog.png');
	vertical-align: middle;
	margin-right: 3px;
}
/*---contact----*/
.contact {
	padding: 10px 0px 35px 0px;
	border-bottom: 1px ridge rgb(240, 240, 240);
}
.contact-form{
	float:left;
	width: 50%;
}
.contact-form p{
	font-size: 0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	color: rgb(155, 155, 155);
}
.contact-form input[type="text"],.contact-form textarea{
	width: 91%;
	border: none;
	padding: 5px;
	margin: 5px 0px;
	outline: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: rgb(155, 155, 155);
	box-shadow: 0.2px 0.2px 4px rgb(255, 232, 232);
}
.contact-form textarea{
	height:100px;
}
.contact-address{
	float:right;
	width: 50%;
}
.contact-form input[type="submit"]{
	border:none;
	outline:none;
	padding:10px 12px;
	font-size: 0.8em;
	font-family: 'Merriweather Sans', sans-serif;
	background:lightblue;
	color:#fff;
	cursor:pointer;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
	-webkit-apprence:none;
}
.contact-form input[type="submit"]:hover{
	background: rgb(80, 80, 80);
}
.contact-form h3,.contact-address h3{
	font-size:1.3em;
	margin-bottom: 10px;
}
.contact-address p,.contact-address ul li a{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: rgb(155, 155, 155);
	line-height: 1.8em;
}
.contact-address ul li a:hover{
	color:#EA5546;	
}
.contact-address ul li a img{
	vertical-align: middle;
	margin-right:3px;
}
.contact-address ul li a{
	display: block;
	padding: 6px 0px;
}
.error-page{
	text-align:center;
	padding: 100px 0px;
	border-bottom: 1px ridge rgb(240, 240, 240);
}
.error-page h4,.error-page h5{
	font-size:4em;
}
.error-page h5{
	font-size:10em;
	color:lightblue;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.44);
}
/*隐藏单选按钮*/
.myHiddenRadio{
	visibility: hidden;
}
/*模态框*/
.modal-body p{
	margin-bottom:12px;
	margin-left:25%;
}
/*td,p*/
.msg{
	display:inline-block;
	width:200px;

	/*overflow:hidden;*/
}
/*------responive-design--------*/
@media screen and (max-width: 1366px)	{
	.wrap{
		width:95%;
	}
	.top-nav ul li a {
		font-size: 0.9em;
	}
}
@media screen and (max-width:1280px)	{
	.wrap{
		width:90%;
	}
	.left-sidebar {
		width: 17%;
	}
	.content {
		width: 57%;
	}
	.grid p {
		width:50%;
	}
	.right-sidebar {
		width: 17.2%;
	}
	.search-bar input[type="text"] {
		width: 67.1%;	
	}
	.fallowers ul li {
		width: 31.9%;
	}	
	.singlepage p {
		width:100%;
	}
	.post-grid img {
		width: 36%;
	}
	.post-grid p {
		width:60%;
	}
}
@media screen and (max-width:1024px)	{
	.wrap{
		width:90%;
	}
	.left-sidebar {
		width: 21%;
	}
	.grid p {
		width:100%;
		margin-top:7px;
	}
	.content {
		width: 51%;
	}
	.grid img {
		float:none;
		width:100%;
	}
	.right-sidebar {
		width: 17.455%;
	}
	.search-bar input[type="text"] {
		width: 59.1%;
	}
	.fallowers ul li {
		width: 31.5%;
	}
	.comments li {
		margin: 10px 10px 0px 10px;
	}
	.error-page h4{
		font-size: 2.8em;
	}
}

@media screen and (max-width:800px)	{
	.wrap{
		width:90%;
	}
	.logo h1 {
		font-size: 0.7em;
		margin-top: 3px;
	}
	.social-icons ul li {
		width:20%
	}
	.top-nav ul li a {
		padding:10px;
	}
	.grid h3, .featured-Videos h3, .popular-post h3, .fallowers h3, .contact-form h3, .contact-address h3, .error-page h4, .error-page h5 {
		font-size:0.8em;	
	}
	.grid-header ul li span ,.grid-header ul li a {
		font-size: 0.7em;
	}
	.content {
		width: 48.23%;
	}
	.footer p {
		font-size: 0.7em;
	}
	.search-bar input[type="text"] {
		width: 47.1%;
	}
	.post-grid img ,.post-grid p{
		float:none;
		width:100%
	}
	.fallowers ul li {
		width: 48%;
	}
	.contact-form,.contact-address {
		float:none;
		width:100%;
	}
	.contact-address{
		padding-top:10px;
	}
	.error-page h4, .error-page h5 {
		font-size:2em;
	}
	 .error-page h5{
	 	font-size:4em;
	 	box-shadow:none;
	 }

}
@media screen and (max-width:640px)	{
	.wrap{
		width:90%;
	}
	.logo {
		padding: 24px 14px;
	}
	.comments li {
		margin: 10px 4px 0px 10px;
	}
	.right-sidebar {
		width: 14.55%;
	}
	.search-bar input[type="text"] {
		width: 75%;
	}
	.grid h3, .featured-Videos h3, .popular-post h3, .fallowers h3, .contact-form h3, .contact-address h3, .error-page h4, .error-page h5 {
		font-size: 0.7em;
	}
	.fallowers ul li {
		width: 100%;
	}
	.content-pagenation {
		float:none;
		text-align:center;
	}
	.error-page h4, .error-page h5 {
		font-size: 1.5em;
	}
	.error-page h5{
		font-size:5em;
	}
	.error-page{
		padding:50px 0px;
	}
}
